TrafficSign Class Reference

#include <TrafficSign.h>

Inheritance diagram for TrafficSign:

TraffEduObject List of all members.

Public Member Functions

 TrafficSign (TrafficSignTypes newSignType)
 TrafficSign ()
 ~TrafficSign ()
void draw (osg::ref_ptr< osg::Group > root, int animationFlag=-1)
TrafficSignTypes getTrafficSignType ()

Private Attributes

TrafficSignTypes signType
int triangleType

Detailed Description

TrafficSign class. A data fundemental class for Traffic Signs.


Constructor & Destructor Documentation

TrafficSign::TrafficSign (  TrafficSignTypes  newSignType  ) 
 

Constructor for the TrafficSign

Parameters:
newSignType 

TrafficSign::TrafficSign (   ) 
 

Constructor for the Trafic Sign.

TrafficSign::~TrafficSign (   ) 
 

Destructor for the Trafic Sign.


Member Function Documentation

void TrafficSign::draw (  osg::ref_ptr< osg::Group >  root,
int  animationFlag = -1
)  [virtual]
 

Draw function to add the sign to sceen root.

Parameters:
root where to add the Traffic Sign to.
animationFlag whether the object is an active object during animation.

Implements TraffEduObject.

TrafficSignTypes TrafficSign::getTrafficSignType (   )  [inline]
 

Getter for the type of the Traffic Sign.

Returns:
type of the Traffic Sign.


Member Data Documentation

TrafficSignTypes TrafficSign::signType [private]
 

int TrafficSign::triangleType [private]
 


The documentation for this class was generated from the following file:
Generated on Sun May 28 18:44:01 2006 by  doxygen 1.4.6-NO